package dao.Factoty;

import dao.AddressDao;
import dao.CollectionDao;
import dao.NoticeDao;
import dao.OrderDao;
import dao.OrderItemDao;
import dao.ProductDao;
import dao.SaleDao;
import dao.UserDao;
import dao.impl.AddressDaoImpl;
import dao.impl.CollectionDaoImpl;
import dao.impl.NoticeDaoImpl;
import dao.impl.OrderDaoImpl;
import dao.impl.OrderItemDaoImpl;
import dao.impl.ProductDaoImpl;
import dao.impl.SaleDaoImpl;
import dao.impl.UserDaoImpl;

public class DaoFactory {
	public static OrderDao getOrderDaoInstance () {
		return new OrderDaoImpl();
	}
	
	public static OrderItemDao getOrderItemDaoInstance () {
		return new OrderItemDaoImpl();
	}
	
	public static ProductDao getProductDaoInstance () {
		return new ProductDaoImpl();
	}
	
	public static UserDao getUserDaoInstance () {
		return new UserDaoImpl();
	}
	
	public static NoticeDao getNoticeDaoInstance () {
		return new NoticeDaoImpl();
	}
	
	public static SaleDao getSaleDaoInstance () {
		return new SaleDaoImpl();
	}
	
	public static AddressDao getAddressDaoInstance () {
		return new AddressDaoImpl();
	}
	
	public static CollectionDao getCollectionDaoInstance () {
		return new CollectionDaoImpl();
	}
}
